package org.yzz.base.service;

import org.yzz.base.query.BaseQuery;
import org.yzz.base.utils.PageInfo;
import java.io.Serializable;
import java.util.List;

public interface IBaseService<T> {
    List<T> selectAll();
    T selectById(Serializable id);
    void insert(T employee);
    void update(T employee);
    void delete(Serializable id);
    PageInfo<T> queryPage(BaseQuery baseQuery);
    void batchDelete(List<Long> ids);
}
